#ifndef LANGSDIALOG_H
#define LANGSDIALOG_H

#include <QtGui/QDialog>
#include <QtGui/QCloseEvent>
#include "ui_langsDialog.h"

class langsDialog : public QDialog
{
    Q_OBJECT

public:
    langsDialog(QWidget *parent = 0);
    ~langsDialog();

    void setLangs(const QStringList& langList);
signals:
    void langChanged(QString from, QString to);

protected:
    virtual void closeEvent(QCloseEvent *event);
    QStringList mLangs;
protected slots:
	void saveLangs();
private:
    Ui::langsDialogClass ui;
};

#endif // LANGSDIALOG_H
